<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(document).ready(function(){
		$("form").submit(function(){
			if($(":input[name=id]").val()==""){
				alert("아이디를 입력하세요!");
				return false;
			}
			if($(":input[name=password]").val()==""){
				alert("패스워드를 입력하세요!");
				return false;
			}
		});
	});
</script>
<form method="post" action="${initParam.root}member/login.moja">
<!-- <input type="hidden" name="command" value="login"> -->
<div id="mainCss" align="center">
<table id="loginT"style="width: 200px; ">
<tr>
<td colspan="2" bgcolor="black" align="center"><br><font color="#FFFFFF" size="4">LOGIN PAGE</font><br><br></td>
</tr>
<tr>
<td>ID</td><td><input type="text" name="memberId"></td>

</tr>
<tr>
<td>PASSWORD</td><td><input type="password" name="memberPassword"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="로그인"></td>
</tr>
</table>
</div>
</form>










